using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BLL;
using DevComponents.DotNetBar;

namespace GUI
{
    public partial class frmLog : DevComponents.DotNetBar.Office2007Form
    {
        private BOLog _log;
        private DataSet _ds;
        public frmLog()
        {
            InitializeComponent();
        }

        private void frmLog_Load(object sender, EventArgs e)
        {
            _log = new BOLog();
            _ds = _log.LoadLog();
            dgvLog.DataSource = _ds.Tables[0];
            dgvLog.Columns[1].Width = 416;
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            Dispose();
        }
    }
}